<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width,initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv=X-UA-Compatible content="IE=edge,chrome=1">
    <meta content=always name=referrer>
    <link rel="stylesheet" type="text/css" href="__STATIC__/css-wap/swiper.min.css">
    <link rel="stylesheet" type="text/css" href="__STATIC__/css-wap/bootstrap.min.css">
    <link rel="stylesheet" type="text/css" href="__STATIC__/css-wap/style.css">
    <meta name="format-detection" content="telephone=no" />
    <title>抽奖码</title>
</head>
<body>
<div class="wrap">
    <div class="header-main">
        <a href="{:url('mobile/draw/index')}"><img src="__STATIC__/img-wap/back.png" class="back"></a>
        <span class="title">抽奖码</span>
    </div>
    <div class="list-code">
        {empty name="data"}
        <ul>
            <li>
                <span class="num">您暂无抽奖码</span>
            </li>
        </ul>
        {/empty}
        <ul>
            {volist name="data" id="vo"}
            {if condition="$vo.type_id eq 2"}
            <li>
                <span class="name">单次抽奖码</span>
                <span class="num">{$vo.lottery_code}</span>
                <span class="time">获取时间：{$vo.create_time|date='Y-m-d H:i:s',###}</span>
            </li>
            {else/}
            <li class="usable">
                <span class="name">永久抽奖码</span>
                <span class="num">{$vo.lottery_code}</span>
                <span class="time">获取时间：{$vo.create_time|date='Y-m-d H:i:s',###}</span>
            </li>
            {/if}
            {/volist}
        </ul>
    </div>


</div>
</body>
</html>